import {request} from "../../utils/request"
//查找分类类型
export let getClassification= (params:object)=>{
	return request.postRequest<number|undefined>("classifyList",params)
}
//查找订单列表
export let getOrderList= (params:object)=>{
	return request.postRequest<number|undefined>("ordersList",params)
}
//搜索订单列表
export let searchOrderList= (params:object)=>{
	return request.postRequest<number|undefined>("searchOrders",params)
}
//分页条件查询销售记录
export let getSalesHistory= (params:object)=>{
	return request.postRequest<number|undefined>("sells/getByCondition",params)
}
//评价页面数据
export let getAppraise= (params:object)=>{
	return request.postRequest<number|undefined>("oponion/quan",params)
}
//评价页面查询
export let searchAppraise= (params:object)=>{
	return request.postRequest<number|undefined>("oponion/cha",params)
}